<?php

namespace App\Http\Controllers;


use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;

class RootController extends Controller
{
    //
    public function __construct()
    {
        //$this->middleware('signed')->only(['meeting']);
    }

    public function root(){

        $categories = get_categoires_all();
        //session()->flash('info','提示信息');

        return view('index',compact('categories'));
    }


}
